﻿#region Usings

using System.ServiceModel;

#endregion

namespace KanbanBoard.Server.Command {
    [ServiceContract]
    public interface ITaskBoardCommandService {
        [OperationContract]
        void CreateTask(int taskBoardId);

        [OperationContract]
        void ChangeTaskDescription(int taskId, string description);

        [OperationContract]
        void Pull(int taskId, int columnId);

        [OperationContract]
        void DeleteTask(int taskId);

        [OperationContract]
        void PrioritizeAbove(int taskId, int lowerPriorityTaskId);

        [OperationContract]
        void PrioritizeBelow(int taskId, int higherPriorityTaskId);
    }
}